using Microsoft.Practices.Unity.Configuration;

namespace Common.Unity.Configuration
{
	public class UnityTypeInstanceElement : UnityTypeElement
	{
		protected override object OnRequiredPropertyNotFound(string name)
		{
			switch ( name )
			{
				case "type":
					return null;
			}
			return base.OnRequiredPropertyNotFound(name);
		}
	}
}